home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / stdafx.h3 < prev    next >
Encoding:
Text File  |  2001-10-16  |  2.4 KB  |  55 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // stdafx.h : include file for standard system include files,
  12. //  or project specific include files that are used frequently, but
  13. //      are changed infrequently
  14. //
  15.  
  16. #if !defined(AFX_STDAFX_H__31176193_A076_11D1_B79F_000021452DB6__INCLUDED_)
  17. #define AFX_STDAFX_H__31176193_A076_11D1_B79F_000021452DB6__INCLUDED_
  18.  
  19. #if _MSC_VER >= 1000
  20. #pragma once
  21. #endif // _MSC_VER >= 1000
  22.  
  23. #define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
  24.  
  25. #include <afxwin.h>         // MFC core and standard components
  26. #include <afxext.h>         // MFC extensions
  27. #include <afxdisp.h>        // MFC OLE automation classes
  28. #ifndef _AFX_NO_AFXCMN_SUPPORT
  29. #include <afxcmn.h>            // MFC support for Windows Common Controls
  30. #endif // _AFX_NO_AFXCMN_SUPPORT
  31.  
  32.  
  33. // This macro is the same as IMPLEMENT_OLECREATE, except it passes TRUE
  34. //  for the bMultiInstance parameter to the COleObjectFactory constructor.
  35. //  We want a separate instance of this application to be launched for
  36. //  each OLE automation proxy object requested by automation controllers.
  37. #ifndef IMPLEMENT_OLECREATE2
  38. #define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
  39.     AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
  40.         RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \
  41.     const AFX_DATADEF GUID class_name::guid = \
  42.         { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } };
  43. #endif // IMPLEMENT_OLECREATE2
  44.  
  45. #include "imsigx.h"
  46. CString VariantToText(VARIANT *pvarVal);
  47. CString VartypeToText(SHORT vt);
  48.  
  49. #define CHECK_HRESULT(hRes) if (FAILED(##hRes)) AfxThrowOleException(hRes);
  50.  
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53.  
  54. #endif // !defined(AFX_STDAFX_H__31176193_A076_11D1_B79F_000021452DB6__INCLUDED_)
  55.